package com.lx.user;

import com.lx.biz.BizException;
import com.lx.web.ExHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@MapperScan("com.lx.user.dao")
public class UserApp {
    public static void main(String[] args) {
        SpringApplication.run(UserApp.class, args);
    }


    @Bean
    public ExHandler exHandler() {
        return new ExHandler();
    }
}
